package com.xiejr.enumeration;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author mobai
 * @since 2021/2/16 21:49
 */
@Getter
@AllArgsConstructor
public enum OperationType {

    DOWNLOAD("download","下载"),

    UPLOAD("upload","上传");


    private final String code;

    private final String message;

    @AllArgsConstructor
    enum BUCKET{

        CREATE("create-bucket","创建bucket");

        private final String code;

        private final String message;
    }

    public static String getMessage(String code){
        return null;
    }
}
